package edu.msg.jthr.backend.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "Comment")
public class Comment extends BaseEntity {
	private static final long serialVersionUID = 1L;

	private long writtenBy;
	private long writtenAbout;
	private String type;
	private String content;
	private String date;

	public Comment() {

	}

	@Column(name = "WrittenBy")
	public long getWrittenBy() {
		return writtenBy;
	}

	@Column(name = "WrittenAbout")
	public long getWrittenAbout() {
		return writtenAbout;
	}

	@Column(name = "Content")
	public String getContent() {
		return content;
	}

	@Column(name = "Date")
	public String getDate() {
		return date;
	}

	@Column(name = "Type")
	public String getType() {
		return type;
	}

	public void setWrittenBy(long writtenBy) {
		this.writtenBy = writtenBy;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public void setWrittenAbout(long writtenAbout) {
		this.writtenAbout = writtenAbout;
	}

	public void setType(String type) {
		this.type = type;
	}

}
